Skip to content

NET_SDK_IVE_VEHICE_ITEM_EXT_INFO

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
typedef struct
{
    unsigned int     plateId;                
    char       szProvince[32];               
    unsigned char      color;               
    unsigned char      year;                
    unsigned char      type;                
    unsigned char      resrv1[1];
    char       brand[48];                    
    char       model[48];                   
    unsigned int        brandType;          
    unsigned int        modelType;          
    unsigned short      carRectX;              
    unsigned short      carRectY;              
    unsigned short      carRectWidth;          
    unsigned short      carRectHeight;         
    char        resrv[12];                  
}NET_SDK_IVE_VEHICE_ITEM_EXT_INFO;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_IVE_VEHICE_ITEM_EXT_INFO
{
    public UInt32 plateId;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
    public byte[] szProvince;
    public byte color;
    public byte year;
    public byte type;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 1)]
    public byte[] resrv1;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
    public byte[] brand;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 48)]
    public byte[] model;
    public UInt32 brandType;
    public UInt32 modelType;
    public UInt16 carRectX;
    public UInt16 carRectY;
    public UInt16 carRectWidth;
    public UInt16 carRectHeight;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 12)]
    public byte[] resrv;
}

Function Description

License plate recognition details extension structure.

Member Description

Member Type Remark
plateId unsigned int ID is used as an identifier and is used to associate with IVE_VEHICE_ITEM_INFO.
szProvince char[32] The province to which the license plate belongs.
color unsigned char Color. 0-Unknown, 1-Red, 2-Orange, 3-Yellow, 4-Green, 5-Blue, 6-Cyan, 7-Purple, 8-Black, 9-White, 10-Silver, 11-Grey, 12-Gold, 13-Brown
year unsigned char Annual payment. 0-Unknown, 1-2008, 2-2009, 3-2010, 4-2011, 5-2012, 6-2013, 7-2014 , 8-2015, 9-2016, 10-2017, 11-2018, 12-2019, 13-2020, 14-2021
type unsigned char Type. 0-unknown, 1-car, 2-SUV, 3-MPV, 4-sports car, 5-van, 6-bus, 7-school bus, 8-bus, 9-light passenger car, 10-pickup truck, 11-truck, 12-special vehicle
brand char[48] Brand string
model char[48] Model string
brandType unsigned int Brand. For the corresponding value, see the enumeration structure IVE_Car_Brand.
modelType unsigned int Model. For corresponding values, see the enumeration structure IVE_Car_Model.
carRectX unsigned short X coordinate of the upper left corner.
carRectY unsigned short Y coordinate of the upper left corner.
carRectWidth unsigned short Area width.
carRectHeight unsigned short Area height.
resrv char[12] 12 bytes remaining
Error Code